package tata.servant;

public class Cardemo {

    public static void main(String[] args) {
        Car car = new Car();
        car.setName("BMW");
        car.setColor("red");
        CarDTO carDTO = CarMapper.INSTANCE.carToCarDto(car);
        System.out.println(carDTO.getName());
        System.out.println(carDTO.getColors());
    }
}
